package com.levi.api.controller.order;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("order")
@FeignClient(value = "service-order")
public interface OrderControllerApi {

    @GetMapping("create")
    public Boolean createOrder(@RequestParam Integer id,
                              @RequestParam Integer count);

}
